<template>
  <div>
    <NavHeader></NavHeader>
    <router-view></router-view>
    <NavFooter></NavFooter>
  </div>
</template>

<script>
import NavHeader from "@/components/NavHeader";
import NavFooter from "@/components/NavFooter";

export default {
  name: "home",
  data() {
    return {
      msg: "home",
    };
  },
  components: {
    NavHeader,
    NavFooter,
  },
  mounted() {
    // this.getProductsList();
  },
  methods: {
    getProductsList() {
      this.axios
        .get("/products", {
          params: {
            categoryId: 100012,
            pageSize: 13,
          },
        })
        .then((res) => {
          window.console.log("home res:", res);
        });
    },
  },
};
</script>

<style lang="scss" scoped></style>
